package com.luomo.java.spring.circulardepend.setinjection;

import org.springframework.stereotype.Component;

/**
 * @author LiuMei
 * @date 2020-12-30.
 */
@Component
public class ServiceAA {

    private ServiceBB serviceBB;

    public void setServiceBB(ServiceBB serviceBB) {
        this.serviceBB = serviceBB;
        System.out.println("A设置B");
    }
}
